package com.sntk.drugservice.stock.service;

import com.sntk.drugservice.stock.entity.Test;
import com.sntk.drugservice.stock.repository.TestRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName: TestService
 * @author: wgchao
 * @createTime: 2019/8/19 10:22 AM
 * @Description: TODO
 */
@Service
public class TestService {
    @Autowired
    private TestRepository testRepository;

    public Test save(Test test){
        test = testRepository.save(test);
        return test;
    }
}
